 {% load staticfiles %}
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>Bootstrap 101 Template</title>

    <!-- Bootstrap -->
    <link href="{% static '' %}default/css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
<div class="container theme-showcase" role="main">

      <!-- Main jumbotron for a primary marketing message or call to action -->
    <style>
        #about-container{width: 250px;margin: 100px auto;text-align: center;}
        #about-container .reg-form .controls {margin-top: 10px;}
        #about-container .reg-form .controls input{width: 200px;}
        #about-container .reg-form .controls input.btn-success{margin-left: 15px;}
    </style>


     <div class="container" id="about-container">
					<div class="about-caption">
                        <form action="{% url 'signin' %}" method="post" class="form-horizontal">
                {% csrf_token %}
				<div class="reg-form">
					<h2>用户登录</h2>
					<div class="controls">
						<i class="glyphicon glyphicon-user"> </i> {{ login_form.username }}
						<div class="clear"> </div>
					</div>
					<div class="controls">
                        <i class="glyphicon glyphicon-lock"></i> {{ login_form.password }}
						<div class="clear"> </div>
					</div>
                    <div class="controls">
                        <input type="hidden" name="source_url" value="{{ request.META.HTTP_REFERER }}">
					    <input type="submit" class="btn btn-success" value="登录">
					    <div class="clear"> </div>
                    </div>
                    </div>
				<div class="clear"> </div>
			</form>
					</div>
				</div>





    </div>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="{% static '' %}default/js/bootstrap.min.js"></script>
  </body>
</html>